<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/bootstrap.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="${pageContext.request.contextPath}/static/js/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
</head>
<body>
<%
    request.setCharacterEncoding("UTF-8");
    String id = request.getParameter("updateCategoryId");
    String name = request.getParameter("updateCategoryName");
%>
<div style="padding:5px; margin:0px;">
    <ul class="breadcrumb" style="  margin:0px; " >
        <li><a href="#">商品类型管理</a></li>
        <li>修改商品类型</li>
    </ul>
</div>

<form action="${pageContext.request.contextPath}/category?method=update" method="post" class="form-horizontal">
    <!--开始 -->
    <div class="row">
        <div class="col-sm-6">
            <div class="form-group">
                <label class="col-sm-3 control-label">类型编号</label>
                <div class="col-sm-9">
                    <input type="text" name="categoryId" class="form-control input-sm" readonly="readonly" value="<%=id%>"/>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">类型名称</label>
                <div class="col-sm-9">
                    <input type="text" name="categoryName" class="form-control input-sm" value="<%=name%>"/>
                </div>
            </div>
        </div>
    </div>
    <!--结束 -->
    <div class="row">
        <div class="col-sm-3 col-sm-offset-2">
            <input  type="submit" class="btn btn-success" value="提交"/>
            <a class="btn btn-warning" href="${pageContext.request.contextPath}/category?method=list">返回列表</a>
        </div>
    </div>
</form>
</body>
</html>

